package com.yc.rh.entities;

import java.io.Serializable;
import java.util.List;

public class JsonObject<T> implements Serializable{
	private static final long serialVersionUID = -858971156314940531L;
	private List<T> rows;
	private int total;
	private T obj;
	private int result;
	private int totalSize;
	private int totalPage;
	private int pageNo;
	private int pageSize;
	private String content;

	@Override
	public String toString() {
		return "JsonObject [rows=" + rows + ", total=" + total + ", obj=" + obj
				+ ", result=" + result + "]";
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public T getObj() {
		return obj;
	}

	public void setObj(T obj) {
		this.obj = obj;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(int totalSize) {
		this.totalSize = totalSize;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public int getPageNo() {
		return pageNo;
	}

	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public JsonObject() {
		super();
	}
}
